package worldModel;

import java.io.Serializable;

import battleFieldModel.Player;

/**
 * Heals the Player of the Navigator by 50 points.
 * 
 * @author Cody Mingus
 * 
 */
public class MediumHeal implements Item, Serializable {

	/**
	 * @author Chris Ray Created on 7:57:35 PM Oct 31, 2011
	 * 
	 */
	private static final long serialVersionUID = -4907865952926122550L;

	@Override
	public void activateEffect(Navigator n) {
		Player p = n.getPlayer();
		p.receiveDamage(-50);
	}

	@Override
	public String toString() {
		return "MediumHeal";
	}

}
